﻿using MediatR;
using SmartTracking.ErrorCode;

namespace SmartTracking.API.Write.Application.Commands.SheepFarm_command
{
    public class AddSheepFarmCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 羊场名称
        /// </summary>
        public string FarmName { get; set; }
        /// <summary>
        /// 羊场简称
        /// </summary>
        public string Abbreviation { get; set; }
        /// <summary>
        /// 建账时间
        /// </summary>
        public DateTime AccountSetupTime { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string PersonInCharge { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 羊场状态
        /// </summary>
        public bool FarmStatus { get; set; }

        /// <summary>
        /// 创建用户
        /// </summary>
        public string? CreateUserNo { get; set; }
    }
}
